<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>   
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
	body{
			background-image: url("../../images/bg.gif");
		}
	table{
			background-image: url("../../images/bgbg3.jpg");
	}
	td{
		padding: 0.5em;
	}
	#foot{
		text-align: center;
	}
	.btn{
	width:140px;
	height:36px;
	line-height:18px;
	font-size:18px;
	background:url("../../images/button.jpg") no-repeat left top;
	color:#FFF;
	padding-bottom:4px
	} 
</style>
<title>修改试题</title>
</head>
<body>
<s:form action="question.action" namespace="admin/stu" method="post" theme="simple" >
	<s:hidden name="action" value="editsave"/>
	<s:hidden name="id" value="%{id}"/>
<table width="100%" border="0" >
  <tr>
    <td width="12%" bgcolor="#0099CC" style="padding-bottom: 0"><h3>试题题目</h3></td>
    <td colspan="2"><s:textarea name="title" rows="4" cssClass="input" cssStyle="border-style:Groove;width:886px;" value="%{title}"></s:textarea></td>
  </tr>
  
  <tr>
    <td rowspan="6" bgcolor="#0099CC"  style="padding-top: 0;padding-bottom:0 " ><h3>试题信息</h3></td>
    <td align="right" width="13%">选项A：</td>
    <td><s:textarea name="optionA" rows="2" cols="20" cssClass="input" cssStyle="border-style:Groove;width:586px;" value="%{optionA}"></s:textarea></td>
  </tr>
  
  <tr>
    <td align="right">选项B：</td>
    <td><s:textarea name="optionB" rows="2" cols="20" cssClass="input" cssStyle="border-style:Groove;width:586px;" value="%{optionB}"></s:textarea></td>
  </tr>
  
  <tr>
    <td align="right">选项C：</td>
    <td><s:textarea name="optionC" rows="2" cols="20" cssClass="input" cssStyle="border-style:Groove;width:586px;" value="%{optionC}"></s:textarea></td>
  </tr>
  
  <tr>
    <td align="right">选项D：</td>
    <td><s:textarea name="optionD" rows="2" cols="20" cssClass="input" cssStyle="border-style:Groove;width:586px;" value="%{optionD}"></s:textarea></td>
  </tr>
  
  <tr>
    <td align="right">答案：</td>
    <td><s:checkboxlist list="#{1:'A',2:'B',3:'C',4:'D'}" name="answer" listValue="value" listKey="key" value="answer"></s:checkboxlist></td>
  </tr>
  <tr>
    <td align="right">试题解析：</td>
    <td><s:textarea name="analysis" rows="2" cols="20" cssStyle="height:60px;width:610px;" value="%{analysis}"> </s:textarea></td>
  </tr>
  
  <tr>
    <td bgcolor="#0099CC" style="padding-top: 0" ><h3>备注信息</h3></td>
    <td align="right">备注：</td>
    <td><s:textarea name="remark" rows="2" cols="20" cssStyle="height:60px;width:610px;" value="%{remark}"> </s:textarea></td>
  </tr>
  <tr id="foot">
    <td colspan="3"><s:submit value="确认修改" cssClass="btn" onmouseover="this.style.backgroundPosition='left -36px'" onmouseout="this.style.backgroundPosition='left top'" > </s:submit>
			&nbsp;
		<button onclick="history.back(-1)" class="btn" onmouseover="this.style.backgroundPosition='left -36px'" onmouseout="this.style.backgroundPosition='left top'" >返回</button></td>
  </tr>
</table>
</s:form>
</html>